<?php


ini_set('display_errors', 1);
error_reporting(-1);
require_once '/data/wwwroot/g_vendor/autoload.php';
ini_set('memory_limit', '512M');


echo (ini_get('memory_limit')) , PHP_EOL;
$brand_id = $argv[1] ?? [];

\Biz\cache\brand\BrandNameAndAlias::delCache($brand_id);

list(
    'matchBrandWordsMap' => $matchBrandWordsMap,
    'brandUidMap' => $brandUidMap,
    'brandName' => $brandName) = \Biz\service\wiki\WikiContentSync::getBrandKeyWords($brand_id);



var_dump($matchBrandWordsMap, $brandUidMap, $brandName, implode(',', array_column($brandName, 'id')));



